package com.oocl.o2o.client.service;

import java.util.List;

import com.oocl.o2o.client.entity.Merchant;

public interface MerchantService {
	
	public Merchant add(Merchant t);
	
	public Merchant update(Merchant t);
	
	public Merchant delete(String id);
	
	public Merchant findById(String id);
	
	public List<Merchant> findAll();
	
	public Merchant findByUsername(String username);
	
	/**
	 * get all Pass Merchants From A platform
	 * @return List<Merchant>
	 */
	public List<Merchant> getAllPassMerchantsFromA();
}
